<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
 <ui:composition template="templateEPA.xhtml">
  <ui:define name="Titulo">EPA - Exercícios</ui:define>
  <ui:define name="conteudo">
      <h:panelGrid columns="1">
          <h:outputText value="Assista ao vídeo e escolha a resposta que melhor resuma o vídeo: "/>
          <h:graphicImage value="../resource/video.JPG" height="344" width="425" />
          <h:outputText value="Escolha uma alternativa"/>
          <h:selectOneRadio value="#{EPAControle.avaliacao.resposta}" layout="pageDirection">
                  <f:selectItem itemLabel="Alternativa 1"
                                itemValue="1"/>
                  <f:selectItem itemLabel="Alternativa 2"
                                itemValue="2"/>
                  <f:selectItem itemLabel="Alternativa 3"
                                itemValue="3"/>
                  <f:selectItem itemLabel="Alternativa 4"
                                itemValue="4"/>
          </h:selectOneRadio>
      </h:panelGrid>
      <h:panelGrid columns="3" dir="RTL">
         <h:link></h:link>
         <h:link></h:link>
         <h:commandButton value="Responder" action="#{EPAControle.responder}"/>
      </h:panelGrid>
      <br/>
      <br/>
      <h:outputText value="#{EPAControle.msgExercicio}" rendered="#{EPAControle.exeRespondido}"/>


  </ui:define>
 </ui:composition>
</html>
